// Reset
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
    Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
    sans-serif;
  background-color: #f7f8fa;
}

// 主题色
:root {
  --primary-color: #0bb584;
  --text-color: #323233;
  --text-color-secondary: #969799;
  --border-color: #ebedf0;
  --background-color: #f7f8fa;
}

// 通用样式
.page-container {
  min-height: 100vh;
  background-color: var(--background-color);
  color: var(--text-color);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

// 自定义 Vant 主题
:root:root {
  --van-primary-color: var(--primary-color);
  --van-tabbar-item-active-color: var(--primary-color);
  --van-nav-bar-icon-color: var(--text-color);
  --van-nav-bar-text-color: var(--text-color);
} 